export default [
  // 获取权限
  {
    url: '/mock-api/v1/idt/user',
    type: 'get',
    response: () => {
      return {
        code: 200,
        msg: 'success',
        data: {
          count: 3,
          rows: [
            {
              id: 3,
              username: 'root',
              nickname: '管理员',
              phone: '18694049929',
              email: '94648929@qq.com',
              idcard: null,
              avatar: '/cdn/img/head_default.png',
              orgId: 5,
              userTypeId: 2,
              registerIp: '127.0.0.1',
              registerTime: '2025-06-16 22:55:51',
              lastLoginIp: null,
              lastLoginTime: null,
              sex: 0,
              status: 0,
              enabled: 1,
              createdAt: '2025-06-12 23:57:45',
              deletedAt: null,
              updatedAt: '2025-06-23 21:48:02',
              roles: [],
              org: {
                id: 5,
                name: '华东总部',
                code: 'B0004',
              },
              jobs: [],
              userType: {
                id: 2,
                name: '实习生',
                code: 'T0001',
              },
            },
            {
              id: 2,
              username: 'admin',
              nickname: '管理员',
              phone: '18694049929',
              email: '94648929@qq.com',
              idcard: null,
              avatar: '/cdn/img/head_default.png',
              orgId: 1,
              userTypeId: 1,
              registerIp: '127.0.0.1',
              registerTime: '2025-06-12 23:57:45',
              lastLoginIp: null,
              lastLoginTime: null,
              sex: 0,
              status: 0,
              enabled: 1,
              createdAt: '2025-06-12 23:57:45',
              deletedAt: null,
              updatedAt: '2025-06-13 14:34:15',
              roles: [],
              org: {
                id: 1,
                name: '总部',
                code: 'A0001',
              },
              jobs: [],
              userType: {
                id: 1,
                name: '内部员工',
                code: 'T001',
              },
            },
            {
              id: 1,
              username: 'sysadmin',
              nickname: '超级管理员',
              phone: '18694049929',
              email: '94648929@qq.com',
              idcard: null,
              avatar: '/cdn/img/head_default.png',
              orgId: 1,
              userTypeId: 1,
              registerIp: '127.0.0.1',
              registerTime: '2025-06-12 23:57:45',
              lastLoginIp: null,
              lastLoginTime: null,
              sex: 0,
              status: 0,
              enabled: 1,
              createdAt: '2025-06-12 23:57:45',
              deletedAt: null,
              updatedAt: '2025-06-13 14:30:25',
              roles: [
                {
                  id: 1,
                  name: '超级管理员',
                  code: 'R0001',
                  pow_user_role: {
                    userId: 1,
                    roleId: 1,
                  },
                },
              ],
              org: {
                id: 1,
                name: '总部',
                code: 'A0001',
              },
              jobs: [
                {
                  id: 1,
                  name: '实习生',
                  code: 'T001',
                  pow_user_job: {
                    userId: 1,
                    jobId: 1,
                  },
                },
              ],
              userType: {
                id: 1,
                name: '内部员工',
                code: 'T001',
              },
            },
          ],
        },
      }
    },
  },
]
